				function $(d) {	return document.getElementById(d); }

				function InitPagePeel() {


					document.write('<div id="PagePeel_BG_Div" style="visibility:hidden;position:absolute;top:0px;right:0px;text-align:right;"><img galleryimg="no" id="PagePeel_BG_Img" src="http://static.de.euserv.adaos-ads.net/richmedia/pagepeel/bg.gif" border="0"></div>');
					document.write('<div id="PagePeel_Ad_Div" style="visibility:hidden;position:absolute;overflow:hidden;top:0px;right:0px;text-align:right;"><img id="PagePeel_Ad_Iframe" style="overflow:hidden;position:absolute;top:0px;right:0px;border:0px;" src="' + PagePeelBasicData_Ad['img'] + '"></div>');
					document.write('<div id="PagePeel_Paper_Div" style="visibility:hidden;position:absolute;top:0px;right:0px;text-align:right;"><a href="' + PagePeelBasicData_Ad['dest'] + '" target="' + PagePeelBasicData_Ad['target'] + '"><img onMouseOver="PagePeelOpen()" onMouseOut="PagePeelMinimize()" galleryimg="no" id="PagePeel_Paper_Img" src="http://static.de.euserv.adaos-ads.net/richmedia/pagepeel/pp_big' + ( (PagePeelBasicData_Paper['showbranding']==1) ? '_branded' : '' ) + '.png" border="0"></a></div>');

					PagePeelIds['PagePeel_BG_Div'] = $('PagePeel_BG_Div');
					PagePeelIds['PagePeel_BG_Img'] = $('PagePeel_BG_Img');

					PagePeelIds['PagePeel_Paper_Div'] = $('PagePeel_Paper_Div');
					PagePeelIds['PagePeel_Paper_Img'] = $('PagePeel_Paper_Img');

					PagePeelIds['PagePeel_Ad_Div'] = $('PagePeel_Ad_Div');
					PagePeelIds['PagePeel_Ad_Iframe'] = $('PagePeel_Ad_Iframe');


					PagePeelIds['PagePeel_Paper_Img'].style.width = '1px';
					PagePeelIds['PagePeel_Paper_Img'].style.height = '1px';

					PagePeelIds['PagePeel_BG_Img'].style.width = '1px';
					PagePeelIds['PagePeel_BG_Img'].style.height = '1px';

					PagePeelIds['PagePeel_Ad_Div'].style.width = PagePeelBasicData_Ad['width'] + 'px';
					PagePeelIds['PagePeel_Ad_Div'].style.height = PagePeelBasicData_Ad['height'] + 'px';

					PagePeelIds['PagePeel_Ad_Iframe'].style.width = PagePeelBasicData_Ad['width'] + 'px';
					PagePeelIds['PagePeel_Ad_Iframe'].style.height = PagePeelBasicData_Ad['height'] + 'px';


					// Browser
					var ie4=document.all
					var ie5=document.getElementById&&document.all
					var ie6=document.getElementById&&document.all&&(navigator.appVersion.indexOf("MSIE 6.")!=-1)

					if (ie4 || ie5 || ie6) {
						PagePeelIds['PagePeel_Paper_Img'].style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://i.hizliresim.com/wMo8Z1" + ( (PagePeelBasicData_Paper['showbranding']==1) ? '_branded' : '' ) + ".png', sizingMethod='scale')";
						PagePeelIds['PagePeel_Paper_Img'].src = 'http://static.de.euserv.adaos-ads.net/richmedia/pagepeel/1x1_trans.gif';
					} else {
						PagePeelAnimDelay = 0;
					}

					window.setInterval("PagePeelTimer()", 30);
				}

				function PagePeelSetSize( percent ) {
					set_width_paper = Math.ceil( percent / 100 * PagePeelBasicData_Paper['width'] );
					set_height_paper = Math.ceil( percent / 100 * PagePeelBasicData_Paper['height'] );


					PagePeelIds['PagePeel_Paper_Img'].style.width = set_width_paper + 'px';
					PagePeelIds['PagePeel_Paper_Img'].style.height = set_height_paper + 'px';

					set_width_ad = Math.ceil( percent / 100 * PagePeelBasicData_Paper['width'] * PagePeelBasicData_Ad_Native['width'] / PagePeelBasicData_Paper_Native['width'] );
					set_height_ad = Math.ceil( percent / 100 * PagePeelBasicData_Paper['height'] * PagePeelBasicData_Ad_Native['height'] / PagePeelBasicData_Paper_Native['height'] );

					if (set_width_ad > PagePeelBasicData_Ad['width']) set_width_ad = PagePeelBasicData_Ad['width'];
					if (set_height_ad > PagePeelBasicData_Ad['height']) set_height_ad = PagePeelBasicData_Ad['height'];

					PagePeelIds['PagePeel_Ad_Div'].style.clip = 'rect(0px, ' + PagePeelBasicData_Ad['width'] + 'px, ' + set_height_ad + 'px, ' + ( PagePeelBasicData_Ad['width'] - set_width_ad ) + 'px)';

					PagePeelIds['PagePeel_BG_Img'].style.width = set_width_paper + 'px';
					PagePeelIds['PagePeel_BG_Img'].style.height = set_height_paper + 'px';

					if (!PagePeelRunning) {

						PagePeelIds['PagePeel_BG_Div'].style.visibility = '';
						PagePeelIds['PagePeel_Ad_Div'].style.visibility = '';
						PagePeelIds['PagePeel_Paper_Div'].style.visibility = '';

						PagePeelRunning = true;

					}

				}

				function PagePeelTimer() {

					var PagePeelDateNow = new Date();
					var PagePeelRuntime = ( PagePeelDateStart.getTime() - PagePeelDateNow.getTime() ) / 1000;

					PagePeelPosition['ist'] = ( PagePeelPosition['ist'] * PagePeelAnimDelay + PagePeelPosition['soll'] ) / (PagePeelAnimDelay+1);
					PagePeelAmplitude['ist'] = ( PagePeelAmplitude['ist'] * PagePeelAnimDelay + PagePeelAmplitude['soll'] ) / (PagePeelAnimDelay+1);

					PagePeelSetSize( PagePeelPosition['ist'] + PagePeelAmplitude['ist'] * Math.sin( PagePeelRuntime * PagePeelBasicData_Paper['swingspeed'] ) );
				}

				function PagePeelOpen() {
					PagePeelPosition['soll'] = 100;
					PagePeelAmplitude['soll'] = 0;
				}

				function PagePeelMinimize() {
					PagePeelPosition['soll'] = PagePeelBasicData_Paper['minimized_percent'];
					PagePeelAmplitude['soll'] = PagePeelBasicData_Paper['minimized_amplitude'];
				}


				var PagePeelRunning = false;
				var PagePeelIds = new Array();


				var PagePeelBasicData_Ad_Native = new Array();
				PagePeelBasicData_Ad_Native['width'] = 450;
				PagePeelBasicData_Ad_Native['height'] = 450;

				var PagePeelBasicData_Paper_Native = new Array();
				PagePeelBasicData_Paper_Native['width'] = 540;
				PagePeelBasicData_Paper_Native['height'] = 540;


				var PagePeelAnimDelay = 5;

				var PagePeelPosition = new Array();
				var PagePeelAmplitude = new Array();

				PagePeelPosition['ist'] = 0;
				PagePeelAmplitude['ist'] = 0;
				PagePeelMinimize();

				var PagePeelDateStart = new Date();

				InitPagePeel();